package com.wondersgroup.service;

import com.wondersgroup.entity.Record;
import com.wondersgroup.entity.RecordVo;

import java.util.Date;
import java.util.List;

public interface RecordService {

  Record getDetail(String dwid,String sjh,Date djsj,String type) throws Exception ;

  int  signOut(Record record);

  List<Record> getRecordByOpenId(String openId,String dwid,Date kssj,Date jssj) throws Exception;

  void  addRecord(Record record) throws  Exception;

  List<RecordVo> getRecordsByDate(String dwmc, Date kssj, Date jssj, int rowIndex, int pageSize, String xm)throws Exception;

  List<Record> getAllRecords();

  List<Record> getRecordsByCompany(String dwid, int rowIndex, int pageSize) throws Exception;

  List<Record> getCompanyRecords(String dwid) throws Exception;
}
